<?php
include("../inc/db_connect.php");
include("../inc/functions.php");
$nac_s = "SELECT * FROM z WHERE id='".$_POST['zid']."'";
$nac_q = MySQL_Query ($nac_s);
$nac = MySQL_Fetch_Array ($nac_q);
if ($nac['manager']==1)
    echo 1;
else
    echo 0;
?>
